﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;

namespace Api.Model
{
    [Table("errorcode")]
    public class ErrorCode : BaseUserModel
    {
        public int ProjectId { get; set; }
        [MaxLength(10)]
        public string Code { get; set; }
        [MaxLength(500)]
        [AllowHtml]
        public string Summary { get; set; }
        [Column(TypeName = "text")]
        [AllowHtml]
        public string Description { get; set; }
        public int UserId { get; set; }
    }
}
